export type ResType<T> = {
  message: string;
  result: T;
  code: number;
};
export type DetailType = {
  id: string;
  name: string;
  spuCode: string;
  desc: string;
  price: string;
  oldPrice: string;
  discount: string;
  inventory: string;
  brand: Brand;
  salesCount: number;
  commentCount: number;
  collectCount: number;
  mainVideos: string[];
  videoScale: string;
  mainPictures: [];
  specs: [];
  evaluationInfo: string;
  categories: any[];
  details: any;
};
type Brand = {
  id: string;
  name: string;
  nameEn: string;
  logo: string;
  picture: string;
  type: string;
  desc: string;
  place: string;
};
